/*
 * $Id: JapanMagnetRuleidLookupDAO.java,v 1.4 2010/11/01 15:46:52 troybirk Exp $
 * 
 * Copyright (C) 2010 General Electric Company. All Rights Reserved.
 * 
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 * 
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */
package com.ge.healthcare.autosc.common.database.dao;

import java.util.List;

/**
 * A data access object (DAO) providing persistence and search support for
 * CfgJapanMagnetRuleidLookup entities. Transaction control of the save(),
 * update() and delete() operations can directly support Spring
 * container-managed transactions or they can be augmented to handle
 * user-managed Spring transactions. Each of these methods provides additional
 * information for how to configure it for the desired type of transaction
 * control.
 * 
 * @see com.ge.healthcare.autosc.common.database.pojo.CfgJapanMagnetRuleidLookup
 */

public class JapanMagnetRuleidLookupDAO extends BaseDAO implements IJapanMagnetRuleidLookupDAO {
	/**
	 * Eclipse generated.
	 */
	private static final long serialVersionUID = -3957966955097397451L;
	
	/** Property constant for Symptom. */
	public static final String SYMPTOM = "symptom";	

	private static final String TABLE_NAME = "com.ge.healthcare.autosc.common.database.pojo.CfgJapanMagnetRuleidLookup";
	
	/**
	 * Constructor. 
	 */
	public JapanMagnetRuleidLookupDAO() {
		super(TABLE_NAME);
	}


	/* 
	 * Find rows in the CFG_JAPAN_MAGNET_RULEID_LOOKUP table that match the symptom.
	 * 
	 * @see com.ge.healthcare.autosc.common.database.dao.IJapanMagnetRuleidLookupDAO#findBySymptom(java.lang.Object)
	 */
	public List findBySymptom(Object symptom) {
		return findByProperty(SYMPTOM, symptom);
	}
}
